package com.book.demo.Service;

import com.book.demo.Pojo.Wenda;
import org.springframework.stereotype.Service;

import java.util.Map;

public interface WendaService {

    // 获取所有问答，区分是否回复
    Map<String, Object> getAllWendaIsReplyAndNotReply();

    // 分页查询问答
    Map<String, Object> GetWendasByPage(int pageNum, int pageSize, String gettype);

    // 获取 问答总数
    Map<String, Object> getWendaTotalCount();

    // 管理员回复问答
    Map<String, Object> adminReplyWenda(Wenda TheReplyWenda);
}
